/**
 * 
 */
package com.juliashine.db.zzy;


/**
 * @author Juliashine@gmail.com 2011-5-9
 *
 */
public class DBDesc {

	String id;
	String host;
	String dbname;
	String drivername;
	String username;
	String password;
	String port;
	DBType db;

	
	public String getDrivername() {
		return drivername;
	}

	public void setDrivername(String drivername) {
		this.drivername = drivername;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
		
	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getDbname() {
		return dbname;
	}

	public void setDbname(String dbname) {
		this.dbname = dbname;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public DBType getDb() {
		return db;
	}
	public void setDb(DBType db) {
		this.db = db;
	}
	

	@Override
	public String toString() {
		return "DataSource [dbname=" + dbname + ", drivername=" + drivername
				+ ", host=" + host + ", id=" + id + ", password=" + password
				+ ", username=" + username + "]";
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
